projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8189b97
)
* lisp/emacs-lisp/bytecomp.el: Simplify b-c-cond-valid-obj2-p
author
Vibhav Pant
<vibhavp@gmail.com>
Wed, 25 Jan 2017 19:28:36 +0000
(
00:58
+0530)
committer
Vibhav Pant
<vibhavp@gmail.com>
Wed, 25 Jan 2017 19:28:36 +0000
(
00:58
+0530)
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index 0da1418321f41c82a4bcb621320e57acc4db1fbf..b608844a08afb34357b26cd74036e04245693969 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-3971,11
+3971,11
@@
that suppresses all warnings during execution of BODY."
(setq byte-compile--for-effect nil))
(defun byte-compile-cond-valid-obj2-p (obj)
- (
cond
-
((consp obj)
(and (eq (car obj) 'quote)
-
(= (length obj) 2)
-
(symbolp (cadr obj)
)))
-
(t t)
))
+ (
if (consp obj)
+
(and (eq (car obj) 'quote)
+ (= (length obj) 2)
+
(symbolp (cadr obj
)))
+
t
))
(defun byte-compile-cond-vars (obj1 obj2)
(or